<template>
    <div style="width: 100%; height: 20%"></div>
    <n-result
      status="403"
      title="403 禁止访问"
      description="权限不足"
    >
      <template #footer>
        <n-button @click="toHome">回到首页</n-button>
      </template>
    </n-result>
  </template>
  
<script setup lang="ts">
    const $router = useRouter();
    const toHome = () => {
        $router.replace("/");
    };
</script>
